package com.market.goods.producer;

import com.market.goods.producer.dto.OrderPaidEvent;
import org.springframework.messaging.Message;

public interface RocketProducer {
    void asyncSend(String topic, String message);
    void convertAndSend(String topic, String message);
    void send(String topic, String message);
    void syncSendOrderly(String topic, String message, String hashKey);
    void sendMessageInTransaction(String destination, Message<?> message, Object object);
}
